package main

import (
	"encoding/json"
	"fmt"
)

type Address struct {
	Type    string
	City    string
	Country string
}

func main() {
	ad := Address{"work", "成都", "中国"}
	js, _ := json.Marshal(ad)

	fmt.Printf("%s", js)
}
